package com.jdd.common.constant;

/**
 * @author: shangyue
 * @date: 2021-06-14
 * @description: 缓存常量
 */
public interface CacheConstant {

	/**
	 * 字典信息缓存
	 */
    public static final String DICT_CACHE = "dictCache";
	/**
	 * 遥控开闸信息缓存
	 */
	public static final String EMOTE_PENED = "emote_pened";

	/**
	 * 权限信息缓存
	 */
    public static final String PERMISSION_CACHE = "permission";

	/**
	 * 登录用户规则缓存
	 */
    public static final String LOGIN_USER_RULES_CACHE = "loginUser_cacheRules";
	/**
	 *  统计信息缓存
	 */
	String OPENACCOUNT_EPAYDAY_STATISTICAL_CACHE = "openaccount_epayday_statistical_cache";

	/**
	 *  设备句柄缓存
	 */
	public static final String SDK_HANDLE = "sdk_handle";
	/**
	 *  设备句柄缓存
	 */
	public static final String GET_SDK_SERIALNO = "get_sdk_serialno";
	/**
	 *  设备句柄缓存
	 */
	public static final String GET_SDK_DOCK_CAR = "get_sdk_dock_car";
	/**
	 *  设备透明通道句柄缓存
	 */
	public static final String SERIAL_HANDLE = "serial_handle";
	/**
	 *  设备透明通道句柄获取设备序列号
	 */
	public static final String GET_SERIAL_HANDLE_SERIALNO = "get_serial_handle_serialno";
	/**
	 * 车辆类型查询缓存
	 * */
	public static final String PARK_CONFIG_CAR_TYPE = "park_config_car_type";
	/**
	 * 车辆类型查询通过id获取缓存
	 * */
	public static final String PARK_CONFIG_CAR_TYPE_BY_ID = "park_config_car_type_by_id";
	/**
	 * 月租车辆类型查询缓存gan'bu
	 * */
	public static final String PARK_CONFIG_MONTHLY_CAR_TYPE = "park_config_monthly_car_type";
	/**
	 * 储值车辆类型查询缓存
	 * */
	public static final String PARK_CONFIG_STORE_CAR_TYPE = "park_config_store_car_type";
	/**
	 * 车场出入口信息根据ip获取缓存
	 * */
	public static final String PARK_ARM_INFO_BY_IP = "park_arm_info_by_ip";
	/**
	 * 车场出入口信息根据serialNo获取缓存
	 * */
	public static final String PARK_ARM_INFO_BY_SERIAL_NO = "park_arm_info_by_serial_no";
	/**
	 * 车辆出入口信息根据parkCode获取缓存
	 * */
	public static final String PARK_ARM_INFO_BY_PARK_CODE = "park_arm_info_by_park_code";
	/**
	 * 车辆入口信息根据parkCode获取缓存
	 * */
	public static final String PARK_ARM_ENTER_ARM = "park_arm_enter_arm";
	/**
	 * 车场开闸方式缓存
	 * */
	public static final String PARK_CONFIG_INFO = "park_config_info";
	/**
	 * 车场开闸方式通过Id获取缓存
	 * */
	public static final String PARK_CONFIG_INFO_BY_ID = "park_config_info_by_id";

	/**
	 * 计费规则通过id获取缓存
	 * */
	public static final String PARK_CHARGE_BY_ID = "park_charge_by_id";
	/**
	 * 计费规则配置通过CarTypeId获取缓存
	 * */
	public static final String PARK_CHARGE_BY_CAR_TYPE_ID = "park_charge_by_car_type_id";
	/**
	 * 车场通行配置缓存
	 * */
	public static final String PARK_CONFIG_THROUGH = "park_config_through";
	/**
	 * 车场通行配置通过id获取缓存
	 * */
	public static final String PARK_CONFIG_THROUGH_BY_ID = "park_config_through_by_id";
	/**
	 * 车场通行配置通过serialNo获取缓存
	 * */
	public static final String PARK_CONFIG_THROUGH_BY_SERIAL_NO = "park_config_through_by_serial_no";

	String DEFAULT_PREFIX = "jdd:pc:";
	/** 车辆出场后10分钟内重复识别会再次播报一路顺风提的
	 */
	public static final String CURRENT_EXIT_LICENSE_PLATE_TEN = "current:exit:license:plate:ten";

	/**
	 *  当前出口车牌
	 */
	public static final String CURRENT_EXIT_LICENSE_PLATE = "current:exit:license:plate";

    /**
	 * 车场信息根据parkCode获取缓存
	 * */
	public static final String PARK_INFO = "park_info";
	/**
	 * 车场信息根据id获取缓存
	 */
	public static final String PARK_INFO_BY_ID = "park_info_by_id";
	/**
	 * 当前车道已出场车牌号
	 */
	public final String PARK_CAR_OUT = "park_car_out";
	/**
	 * 无牌车入场openid
	 */
	public final String PARK_CAR_ENTER_OPEN_ID = "park_car_enter_open_id";

	public final String PARK_CHARGE_RULES = "park_charge_rules";

	public final String PARK_CHARGE_RULE_MODULES = "park_charge_rule_modules";

	/**
	 * 应急开闸时的设备序列号缓存名称
	 */
	String EMERGENCY_OPENING_SERIALNO_NAME = "emergency:opening:serialNo:name";

	/**
	 *  应急开闸时的设备序列号缓存key
	 */
	String EMERGENCY_OPENING_SERIALNO_KEY = "emergency:opening:serialNo:key";
}
